#include "AreaCalculator.h"

double AreaCalculator::getResult(const Border& b1, const Border& b2)
{
    return ((b1.isValid() && b2.isValid()) ? (b1.getLength() * b2.getLength()) : 0);
}


